<template>
    <view class="content"> 

    </view> 
</template>
	



<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
            // token标志来判断
            let token = uni.getStorageSync('token');    
            if (token == null || token == '') {
                //不存在则跳转至登录页
			
			    		uni.redirectTo({
			    			url: '/pages/login/homePage'
			    		});
		
			   
              
            } else {
            	//存在则关闭启动页进入首页
				//去登录
						uni.redirectTo({
						    url: "/pages/index/index"
						});
				
            	
            }
            
		},
		methods: {

       
		}
	}
</script>

<style>
	
	.bg-set{
	    position: fixed;
	    width: 100%;
	    height: 100%;
	    top: 0;
	    left: 0;
	    z-index: -1;
	}
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #014b8c;
		font-weight:900;
	}
</style>